﻿<%@ Page Title="Add Category" Language="C#" MasterPageFile="~/POS.master" AutoEventWireup="true" CodeFile="AddEditCategory.aspx.cs" Inherits="Items_AddEditCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div class="container">
        <div class="form-horizontal" id="divCategoryWrapper">
            <div class="form-group">
                <label class="control-label col-sm-4" for="Name">Category Name :</label>
                <div class="col-sm-6">
                    <input type="text" id="txtCategoryName" class="form-control" placeholder="Category Name" />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-4 col-sm-8">
                    <input type="button" id="btnSave" class="btn btn-success" value="Save" onclick="saveCategory()" />
                </div>
            </div>
        </div>
    </div>
     <div>
            <table style="width:100%" class="table-bordered">
                <thead>
                    <tr>
                        <th>Category Id</th>
                        <th>Category Name</th>
                        <th>Delete</th>
                       
                    </tr>
                </thead>
                <tbody id="tbodyCategories"></tbody>
            </table>
        </div>
    <script src='<%= ResolveUrl("Items.js") %>'></script>
</asp:Content>

